package Controlador;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;

import Vista.VistaRanking;

public class ControlVerRanking implements ActionListener{
	
	JFrame frameABorrar;
	
	public ControlVerRanking(JFrame frame){
		
		frameABorrar = frame;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		
		frameABorrar.dispose();
		VistaRanking vr = new VistaRanking();
		vr.dibujar();
		
	}

}
